package ru.osu.acm.common.entities;

import java.util.Date;

/**
 * User: Aleksey
 * Date: 03.03.2009
 * Time: 19:58:03
 */
public class Contest {
    private int id;
    private String name;
    private Date startDate;
    private Date stopDate;
    private String type;

    public Contest(int id, String name, Date startDate, Date stopDate) {
        this.id = id;
        this.name = name;
        this.startDate = startDate;
        this.stopDate = stopDate;
        this.type = "acm";
    }

    public Contest(int id, String name, Date startDate, Date stopDate, String type) {
        this.id = id;
        this.name = name;
        this.startDate = startDate;
        this.stopDate = stopDate;
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getStopDate() {
        return stopDate;
    }

    public void setStopDate(Date stopDate) {
        this.stopDate = stopDate;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
